package connect3.team7;

import java.rmi.RemoteException;

import connect3.team7.*;
import connect3.team7.util.*;

public class Connect3 {
  public static void main(String args[]) throws RemoteException {
    if (args[0].equals("server")) {
      Player p = new Player("dummy");
      HostController h = HostController.getInstance();
      h.registerHost(1091,p);      
    } else if (args[0].equals("client")) {
      Player client = new Player("dummy player");
      ClientController c = ClientController.getInstance();
      c.showAvailableHosts();
    }
  }
}
